package com.oa.office.util;

import java.util.ArrayList;
import java.util.List;

public class UtilHelp {
	private String path;

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}
	
	public static List<String> StringToList(String s,String s1){
		String[] aList=s.split(",");
		String[] bList=s1.split(",");
		List<String> list = new ArrayList<>();
		for(String a:aList){
			for(String b:bList){
				if(b.indexOf(a)==0){
					String c=b.replace(a, "");
					list.add(c);
					break;
				}
			}
		}
		return list;
	}
}
